package cn.qingyun.gis.modules.scenes.service;

import cn.qingyun.gis.modules.scenes.entity.PoiNumberInfo;
import cn.qingyun.gis.modules.scenes.request.PoiNumberInfoRequest;
import cn.qingyun.gis.modules.scenes.response.PoiNumberInfoResponse;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author guest
 * @since 2024-06-13
 */
public interface IPoiNumberInfoService extends IService<PoiNumberInfo> {
    /**
     * 随访人员列表查询
     * @param poiNumberInfoRequest
     * @return
     */
    IPage<PoiNumberInfoResponse> selectPeopleDetailPage(PoiNumberInfoRequest poiNumberInfoRequest);

    /**
     * 随访人员明细导出
     * @param poiNumberInfoRequest
     */
    void peopleDetailExport(PoiNumberInfoRequest poiNumberInfoRequest, HttpServletResponse response);

    /**
     * 异步导入人员权限的excel
     * @param file
     */
    void processFile(InputStream file);
}
